package cc.decat.escript.codegen;

public class UpVarInfo extends VarInfo {
    private boolean isParentLocal; // 该upVar是否是上层函数的局部变量
    private int indexOfParent; // 该upVar在上层变量列表中的索引

    public boolean isParentLocal() {
        return isParentLocal;
    }

    public void setParentLocal(boolean parentLocal) {
        isParentLocal = parentLocal;
    }

    public int getIndexOfParent() {
        return indexOfParent;
    }

    public void setIndexOfParent(int indexOfParent) {
        this.indexOfParent = indexOfParent;
    }
}
